package com.retail.common.domain.response.ums;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 收货地址表
 * @TableName ums_user_address
 */
@TableName(value ="ums_user_address")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UmsUserAddress implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * member_id
     */
    private Long userId;

    /**
     * 收货人
     */
    private String name;

    /**
     * 电话
     */
    private String phone;

    /**
     * 右边
     */
    private String postCode;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 区
     */
    private String region;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 是否默认地址
     */
    private Integer defaultStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
